package shopping.utils;

public class GlobalUtil {
    public static int mustInt(String source, int defaultValue){
        int res = defaultValue;
        try {
            res = Integer.parseInt(source);
        }catch (Exception e){

        }
        return res;
    }
}
